package com.lemon.cloud.mp.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
    * 微信菜单表
    */
@Data
@TableName(value = "wx_mp_menu")
public class WxMpMenu  implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 菜单
     */
    @TableField(value = "menu")
    private String menu;

    /**
     * 公众号ID
     */
    @TableField(value = "wx_account_id")
    private Integer wxAccountId;

    /**
     * 公众号APPID
     */
    @TableField(value = "wx_account_appid")
    private String wxAccountAppid;

    /**
     * 公众号名称
     */
    @TableField(value = "wx_account_name")
    private String wxAccountName;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 删除标记
     */
    @TableLogic
    private String delFlag;

    /**
     * 发布标志
     */
    @TableField(value = "pub_flag")
    private String pubFlag;

    /**
     * 租户ID
     */
    @TableField(value = "tenant_id")
    private Integer tenantId;

    public static final String COL_ID = "id";

    public static final String COL_MENU = "menu";

    public static final String COL_WX_ACCOUNT_ID = "wx_account_id";

    public static final String COL_WX_ACCOUNT_APPID = "wx_account_appid";

    public static final String COL_WX_ACCOUNT_NAME = "wx_account_name";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_UPDATE_TIME = "update_time";

    public static final String COL_DEL_FLAG = "del_flag";

    public static final String COL_PUB_FLAG = "pub_flag";

    public static final String COL_TENANT_ID = "tenant_id";
}
